﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ExplorerTable.aspx.cs" Inherits="WebRole1.ExplorerTable" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<table>
  <tr>
    <td valign="top">
      <asp:Label ID="lblTables" runat="server" Text="Tables"></asp:Label>
      <br />
  
      <asp:ListBox ID="listTables" runat="server" Height="208px" Width="541px"></asp:ListBox>
      <br />
      <asp:Button ID="btnRefreshListTables" runat="server" Text="Refresh List of Tables" 
        onclick="btnRefreshListTables_Click" />

    </td>

    <td valign="top">
      <br />
      <asp:Panel id="panelActions" runat="server">
        <asp:Button ID="btnDeleteAllRecords" runat="server" 
                    Text="Delete ALL RECORDS from selected table" 
                    onclick="btnDeleteAllRecords_Click" />
  </asp:Panel>
    </td>
  </tr>
</table>
  <br />
  <br />
  <asp:Label id="lblAmountOfRecords" runat="server" Text="Max amount of records"></asp:Label>
  <asp:TextBox ID="txtAmountOfRecords" runat="server" Text="200"></asp:TextBox>
  <asp:Button ID="btnGetRecords" runat="server" style="margin-left:10px" 
    Text="Get Records" onclick="btnGetRecords_Click" />

  <br />  <br />
  <%=MyInfo %>
  <br />  <br />
  <asp:Label ID="lblRecords" runat="server" Text="Records"></asp:Label>
  <br />

  <asp:ListBox ID="listRecords" runat="server" Height="197px" Width="99%"></asp:ListBox>

   <%=MyList %>


</asp:Content>
